package com.xinzhitong.www.service;

import com.xinzhitong.www.exception.visitor.NullNewsOutlineException;
import com.xinzhitong.www.exception.visitor.NullProfessionInformationException;

import java.util.Map;

/**
 * 游客服务
 *
 * @author 魏骆淳
 */
public interface VisitorService {

    /**
     * 获取工种信息
     *
     * @return 工种信息
     * @throws NullProfessionInformationException 工种信息空异常
     */
    Map<String, Object> getProfessionInformation() throws NullProfessionInformationException;

    /**
     * 获取新闻轮播图
     *
     * @return 新闻概要
     * @throws NullNewsOutlineException 新闻概要空异常
     */
    Map<String, Object> getNewsOutline() throws NullNewsOutlineException;

}
